package com.example.glgk.mapper.indicator;

import com.example.glgk.dto.indicator.IndicatorCalculateDto;
import com.example.glgk.dto.indicator.OverDataDto;
import com.example.glgk.dto.indicator.ResponsibleIndicator;
import com.example.glgk.dto.indicatorAnalysisDto.DepartmentDto;
import com.example.glgk.entity.IndicatorDataEntity;
import com.example.glgk.entity.indicator.RankEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @author lxk
 */
@Mapper
public interface DepartmentIndicatorMapper  {

    List<ResponsibleIndicator> getResponsibleIndicators(@Param("indicatorCalculateDto") IndicatorCalculateDto indicatorCalculateDto);

    List<ResponsibleIndicator> getDeptIndicator(@Param("indicatorCalculateDto") IndicatorCalculateDto indicatorCalculateDto);

    List<OverDataDto> getOverDataDtos(@Param("indicatorCalculateDto") IndicatorCalculateDto indicatorCalculateDto);

    List<RankEntity> queryRank(@Param("indicatorCalculateDto") IndicatorCalculateDto indicatorCalculateDto,@Param("isClinical") String isClinical);

    List<ResponsibleIndicator> getDeptResponsibleIndicator(IndicatorCalculateDto indicatorCalculateDto);

    List<DepartmentDto> getDepartments(IndicatorCalculateDto indicatorCalculateDto);

    List<IndicatorDataEntity> getRelationIndicators(IndicatorCalculateDto indicatorCalculateDto);
}
